package org.example.core.exception.auth;

/**
 * @author 小杰_cc
 * @version 1.0
 */

/**
 * 权限异常类
 */
public class AuthorizeException extends RuntimeException{

    private static final long serialVersionUID = 1L;

    private int code;
    private String msg;

    public AuthorizeException(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public String getMsg() {
        return msg;
    }

    public int getCode() {
        return code;
    }
}